package org.example.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.example.system.entity.OperateLog;

import javax.servlet.http.HttpServletRequest;

/**
 * 操作日志服务层
 */
public interface OperateLogService {

    /**
     * 添加操作日志
     * @param operateLog
     * @param request
     * @return
     */
    int add(OperateLog operateLog,HttpServletRequest request);

    /**
     * 按条件分页查询
     * @param operateLog
     * @return
     */
    IPage<OperateLog> selectPage(OperateLog operateLog);

    /**
     * 删除
     * @param Ids
     * @return
     */
    int deleteBatch(Long[] Ids);
}

